The default filename isn't localized and isn't the same one that
the shell sets. Just remove the fallback mechanism, and abort
recording if somebody didn't set the filename
https://bugzilla.gnome.org/show_bug.cgi?id=677434
*/
#define DEFAULT_PIPELINE "vp8enc quality=8 speed=6 threads=%T ! queue ! webmmux"
-/* The default filename pattern. Example Screencast at 2009-03-11 00:08:15.webm
- */
-#define DEFAULT_FILENAME "Screencast at %d %t.webm"
-
/* If we can find the amount of memory on the machine, we use half
* of that for memory_target, otherwise, we use this value, in kB.
*/
pattern = recorder->filename;
if (!pattern)
- pattern = DEFAULT_FILENAME;
+ return -1;
while (TRUE)
{